package com.xcap.security.datasourceauthentication.service.impl;

import com.xcap.security.datasourceauthentication.dao.SysMenuDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class   SysMenuServiceImpl implements SysMenuService {
    @Resource
    private SysMenuDao sysMenuDao;
    @Override
    public List<String> queryPermissionsByUserId(int userId) {
        return sysMenuDao.queryPermissionsByUserId(userId);
    }
}
